CURRENT=$(cd $(dirname $0) && pwd)
from
ShellScript 逆引き
https://qiita.com/koara-local/items/2d67c0964188bba39e29
https://kjirou.github.io/old-sorenari-blog/articles/506.html
https://ja.stackoverflow.com/questions/17274/cd-dirname-0-pwd-と-cd-dirname-0-pwd-の違い